﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mark.Sqlite.Attributes
{
	[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
	public class TableAttribute : Attribute
	{
		public string TableName { get; set; }
		public string ClassName { get; set; }

		public TableAttribute(string tableName)
		{
			if (string.IsNullOrEmpty(tableName)) throw new ArgumentNullException("tableName");


			TableName = tableName;
		}

		public TableAttribute()
		{
			
		}
	}
}
